<h1>New deck</h1>

<%= error_messages_for :deck %>

<% form_for(:deck, :url => decks_path) do |f| %>
  <p>
    <%= submit_tag "Create" %>
  </p>
<% end %>

<%= link_to 'Back', decks_path %>